/*
* @file gloabal_msg.h
* @brief Global message header file
* @author feiniao
* @version 1.0
* @date 2025-5-14
* @note This file contains the definition of the Global_msg class
*       which is responsible for managing global messages and queues.
*/

#ifndef _GLOBAL_MSG_H_
#define _GLOBAL_MSG_H_


#include "freertos/FreeRTOS.h"
#include "freertos/task.h"
#include "freertos/queue.h"
#include "semaphore.h"
#include "esp_log.h"
#include "string.h"

#include "esp_http_client.h"
#include "cJSON.h"

#define TAG "GLOBAL_MSG"

extern QueueHandle_t stt_output_queue;
extern QueueHandle_t llm_output_queue;

class Global_msg {
    static void init_stt_output_queue();
    static void init_llm_output_queue();
public:
    Global_msg();
    ~Global_msg();
};
#endif
